<!-- Main navbar -->
<div class="navbar navbar-inverse">
	<div class="navbar-header">
		<a class="navbar-brand" href="index.html"><img
			src="assets/images/logo_light.png" alt=""></a>

		<ul class="nav navbar-nav pull-right visible-xs-block">
			<li><a data-toggle="collapse" data-target="#navbar-mobile"><i
					class="icon-tree5"></i></a></li>
		</ul>
	</div>

	<div class="navbar-collapse collapse" id="navbar-mobile">
		<ul class="nav navbar-nav navbar-right">
			<li><a href="#"> <i class="icon-display4"></i> <span
					class="visible-xs-inline-block position-right"> Go to
						website</span>
			</a></li>

			<li><a href="#"> <i class="icon-user-tie"></i> <span
					class="visible-xs-inline-block position-right"> Contact
						admin</span>
			</a></li>

			<li class="dropdown"><a class="dropdown-toggle"
				data-toggle="dropdown"> <i class="icon-cog3"></i> <span
					class="visible-xs-inline-block position-right"> Options</span>
			</a></li>
		</ul>
	</div>
</div>
<!-- /main navbar -->


<!-- Page container -->
<div class="page-container login-container">

	<!-- Page content -->
	<div class="page-content">

		<!-- Main content -->
		<div class="content-wrapper">

			<!-- Content area -->
			<div class="content">

				<!-- Registration form -->
				<form role="form" name="myForm" novalidate>
					<div class="row">
						<div class="col-lg-6 col-lg-offset-3">
							<div class="panel registration-form">
								<div class="panel-body">
									<div class="text-center">
										<div class="icon-object border-success text-success">
											<i class="icon-plus3"></i>
										</div>
										<h5 class="content-group-lg">注册</h5>
									</div>

									<div class="form-group has-feedback">
										<input type="text" class="form-control" placeholder="用户名"
											ng-model="user.username" name="username" id="username"
											required>
										<div class="form-control-feedback">
											<i class="icon-user-plus text-muted"></i>
										</div>
										<span style="color: red"
											ng-show="myForm.username.$dirty && myForm.username.$invalid">
											<span ng-show="myForm.username.$error.required">用户名不能为空！</span>
										</span>
									</div>
									<div class="row">
										<div class="col-md-6">
											<div class="form-group has-feedback">
												<input type="password" class="form-control" placeholder="密码"
													ng-model="user.password" required id="password"
													name="password">
												<div class="form-control-feedback">
													<i class="icon-user-lock text-muted"></i>
												</div>

											</div>
										</div>

										<div class="col-md-6">
											<div class="form-group has-feedback">
												<input type="password" class="form-control"
													placeholder="重复密码" ng-model="password1" >
												<div class="form-control-feedback">
													<i class="icon-user-lock text-muted"></i>
												</div>
											</div>
										</div>
										<span style="color: red"
											ng-show="myForm.password.$dirty && myForm.password.$invalid">
											<span ng-show="myForm.password.$error.required">密码不能为空！</span>
										</span>
									</div>

									<div class="row">
										<div class="col-md-6">
											<div class="form-group has-feedback">
												<input type="number" class="form-control"
													placeholder="请输入手机号" ng-model="user.telephone">
											</div>
										</div>

										<div class="col-md-4">
											<div class="form-group has-feedback">
												<input type="number" class="form-control" ng-model="code">
											</div>
										</div>
										<div class="col-md-2">
											<div class="form-group has-feedback">
												<button type="button" class="form-control btn btn-primary"
													ng-click="sendCode()" ng-bind="description"></button>
											</div>
										</div>
									</div>
									<div class="text-right">
										<a class="btn btn-link" ui-sref="login"> <i
											class="icon-arrow-left13 position-left"></i> 返回登录
										</a>
										<button ng-click="submit()"
											class="btn bg-teal-400 btn-labeled btn-labeled-right ml-10">
											<b><i class="icon-plus3"></i></b> 注册账户
										</button>
									</div>
								</div>
							</div>
						</div>
					</div>
				</form>
				<!-- /registration form -->


				<!-- Footer -->
				<div class="footer text-muted">
					&copy; 2015. <a href="#">Limitless Web App Kit</a> by <a
						href="http://themeforest.net/user/Kopyov" target="_blank">Eugene
						Kopyov</a>
				</div>
				<!-- /footer -->
			</div>
		</div>
	</div>
</div>
